import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";

import { ImgUploadModule } from "./../img-upload/imgupload.module";
import { UserComponent } from "./user.component";
import { UserSignupComponent } from "./signup/signup.component";
import { UserLoginComponent } from "./login/login.component";
import { UserFindpwdComponent } from "./findpwd/findpwd.component";
// import { UserSettingComponent } from "./setting/setting.component";
import { UserAgreementComponent } from "./agreement/agreement.component";
import { QyWechatComponent } from "./qywechat/qywechat.component";
import { WechatComponent } from "./wechat/wechat.component";
import { BindMobileComponent } from "./bind/bindMobile.component";
import { OpenServiceComponent } from "./openService/openservice.component";
import { DevelopComponent } from "./develop/develop.component";

import { UserService } from "./user.service";

@NgModule({
  imports: [
    BrowserModule,
    FormsModule,
    ImgUploadModule
  ],
  declarations: [
    UserComponent,
    UserSignupComponent,
    UserLoginComponent,
    UserFindpwdComponent,
    // UserSettingComponent,
    UserAgreementComponent,
    QyWechatComponent,
    WechatComponent,
    BindMobileComponent,
    OpenServiceComponent,
    DevelopComponent
  ],
  providers: [UserService],
  exports: [
    UserComponent,
    UserSignupComponent,
    UserFindpwdComponent,
    QyWechatComponent,
    WechatComponent,
    BindMobileComponent,
    OpenServiceComponent,
    DevelopComponent
  ]
})
export class UserModule { }